package com.ljf.config.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.enums.BasicEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 发号器配置明细  config_base_impulse_sender_detail  类型  type  枚举
 *
 * @author LJF
 * @since 2025-01-06
 */
@Getter
@AllArgsConstructor
public enum ConfigBaseImpulseSenderDetailTypeEnum implements BasicEnum {

    FIXED_VALUE(1, "固定值"),
    CHANGE_VALUE(2, "变化值"),
    CURRENT_DATE(3, "当前时间"),
    SERIAL_NUMBER(4, "流水号");

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private final Integer code;

    @JsonProperty("name")
    @ApiModelProperty(value = "描述")
    private final String name;

}
